﻿@model ActionTrackerWeb.Models.LogOnModel
           
@using (Html.BeginForm("Login", "Home",FormMethod.Post))
{
    @Html.ValidationSummary(true)
    <div class="control-group">
        <div class="controls">
            @Html.TextBoxFor(x => x.UserName, new { @placeholder = "Usuario" })
            @Html.ValidationMessageFor(x => x.UserName)
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            @Html.PasswordFor(x => x.Password, new { @placeholder = "Contraseña" })
            @Html.ValidationMessageFor(x => x.Password)
        </div>
    </div>
    <div class="control-group">
        <button type="submit" class="btn btn-primary">
            Ingresar</button>
    </div>
}
